package com.shire.shire_interface.dao.timeline;

import com.shire.shire_interface.model.timeline.WxTimelineTask;
import com.shire.shire_interface.model.timeline.WxTimelineTaskExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WxTimelineTaskDao {
    long countByExample(WxTimelineTaskExample example);

    int deleteByExample(WxTimelineTaskExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxTimelineTask record);

    int insertSelective(WxTimelineTask record);

    List<WxTimelineTask> selectByExample(WxTimelineTaskExample example);

    WxTimelineTask selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxTimelineTask record, @Param("example") WxTimelineTaskExample example);

    int updateByExample(@Param("record") WxTimelineTask record, @Param("example") WxTimelineTaskExample example);

    int updateByPrimaryKeySelective(WxTimelineTask record);

    int updateByPrimaryKey(WxTimelineTask record);
}